package gientech.spring.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 订单项表
 * @TableName order_item
 */
@TableName(value ="order_item")
@Data
public class OrderItem implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer oiId;

    /**
     * 
     */
    private String gId;

    /**
     * 
     */
    private String oId;

    /**
     * 数量
     */
    private Integer oiTotal;

    /**
     * 总价
     */
    private Long oiTotalPrice;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}